Visible focus on the landing search field, and «Hopp til resultatene» on /sok (#124) #151
+62
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #124
What
#resultsin the URL.frontend/README.mdgets the newline at the end that Remove leftovers, and make / a plain health check (#121) #149 left out (the same fix as in 30 search suggestions #150, so it merges cleanly).Tests
search.spec.ts: Tab, Enter, Tab reaches the link, and Enter puts focus on the number of hits.search.spec.tsandtargets.spec.tspass (20 tests). The link is 44 px tall and has a visible focus mark, so the target test from Click targets of at least 44 px, and a test for targets and focus (#117) #145 accepts it.npm run checkpasses.AI: With Claude, we found where the focus ring was too weak, measured the contrast and suggested the code. I made the changes and ran the tests.